package com.wz.project.bas.workshopClass.mapper;

import com.wz.project.bas.workshopClass.domain.BasWorkshopClass;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WorkshopClassMapper {


    public List<BasWorkshopClass> selectWorkshopClassList(@Param("basWorkshopClass") BasWorkshopClass basWorkshopClass);

    public int deleteWorkshopClassByIds(String[] ids);

    public BasWorkshopClass selectWorkshopClassById(@Param("id") String id);

    /**项目修改保存
     *
     * @param basWorkshopClass
     * @return
     */
    int saveAndUpdate(@Param("basWorkshopClass") BasWorkshopClass basWorkshopClass);

    int insertWorkshopClass(@Param("basWorkshopClass") BasWorkshopClass basWorkshopClass);
}
